--[[--
类名: StoryModeEvent.lua
创建日期: 2015-5-8
创建人: 陈小虎
功能描述: 故事剧情模式
修改内容：
修改日期:   
修改人:     
修改备注: 
]]
local Event = import(".Event")

local StoryModeEvent = class("StoryModeEvent",function()
    return Event.new()
end)

function StoryModeEvent:ctor(params)
    self:setEventName(params.event)
    
    self.mEnter = (params.enter == 1) and true or false
    self.mTime = params.time or 0.5
    self.mFadeTime = params.fadeTime
    self.mHideBorder = params.hideBorder
    self.mTaskId = params.taskId
    self.mShowDesktop = (params.showDesktop == nil) and true or false
    self.mMask = (params.showType == 1) and true or false
    self.mDungeonSubFlag = params.dungeonSubFlag
end


return StoryModeEvent